﻿#region Imports
using System;
#endregion Imports

namespace PlayRandom.Models
{
    public class Filter : BaseModel
    {
        #region Properties
        public string FileExtn { get; set; }

        public int Count { get; set; }

        private bool _IsSelected;
        public bool IsSelected
        {
            get { return _IsSelected; }
            set { _IsSelected = value; RaisePropertyChanged("IsSelected"); }
        }

        public bool IsDefault { get; set; }
        #endregion Properties

        #region Constructors
        public Filter()
        {

        }

        public Filter(string fileExtn, bool isSelected)
        {
            this.FileExtn = fileExtn;
            this.IsSelected = isSelected;
        }
        #endregion Constructors

        #region Methods
        public override string ToString()
        {
            return String.Format("{0}, {1}, {2}", this.FileExtn, this.Count, this.IsSelected);
        }
        #endregion Methods
    }
}
